package com.example.demo.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.demo.entity.DaAn;
import com.example.demo.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DaAnDao {
    int insertBatch(@Param("list") List<DaAn> list);

    List<DaAn> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit, DaAn daAn);

    List<DaAn> queryAll(IPage<DaAn> page, DaAn bean);
}
